<!DOCTYPE html>

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title></title>
    <script src="./js/vue.js"></script>
    <style>
        .male{
            background-color: aquamarine;
        }
        .female{
            background-color: red;
        }
    </style>
</head>

<body>
    <div id="app">
        <!-- 语法插值 -->
        <div>我的名字叫：{{name}}</div>
        <p>我的年龄{{age+11}}</p>
        <p v-html="say()">1111</p>

    </div>
    <script>
        let vm = new Vue({
            el: '#app',
            data: {
                name: "aa",
                age: 18,
                city: "sichuan",
                sex: "male",
            },
            methods: {
                say() {
                    return "<h1>你好</h1>";
                }
            }
        })
    </script>
</body>

</html>